const filterOption = {
  items: [
    {
      label: "入库单类型：",
      type: "text",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "type"
    },
    {
      label: "到货通知单：",
      type: "text",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "originNumber"
    },
    {
      label: "供应商：",
      type: "text",
      data: undefined,
      placeholder: "顾客姓名/顾客ID/手机号码",
      value: undefined,
      key: "supplierName"
    },
    {
      label: "入库仓库：",
      type: "text",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "locationName",
    },
    {
      label: "创建人：",
      type: "text",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "createName"
    },
    {
      label: "操作人：",
      type: "text",
      data: undefined,
      placeholder: "入库单号/专属编码/条码/售后单号",
      value: undefined,
      key: "operatorName"
    },
    {
      label: "备注：",
      type: "text",
      data: undefined,
      placeholder: "",
      value: undefined,
      key: "remark"
    },
  ],
  labelType:'text'
};

const pager = {
  params: {
    pageIndex: 1,
    pageSize: 10,
  },
  pageTotal: 0,
  pageSizeArr: [10, 20, 30, 40]
};
const path = ['仓库管理', '入库管理', {
  label: '采购入库列表',
  name: 'purchaseWarehousing'
}, '列表详情'];
const tabFormInline = [{
  label: '采购入库单号',
  value: '',
},
{
  label: '单据状态',
  value: '',
},
];

const stepOption = {
  activeStep: 0,
  step: [{
    title: '创建入库单',
    description: ''
  },
  {
    title: '待入库',
    description: ''
  },
  {
    title: '已入库',
    description: ''
  },
  {
    title: '核销完成',
    description: ''
  },
  ]
};
const editDialogFormData = {
  shippingMethod: '0', //配送方式(0:快递,1:自提；)
  shipper: undefined,
  originChannel: undefined,
  salesman: undefined,
  recipientName: undefined,
  recipientPhone: undefined,
  messagePhone: undefined,
  addressType: undefined,
  location: undefined,
  detailedAddress: undefined,
};
let Model = {
  data() {
    return {
      Model: {
        queryData: undefined,
        path,
        pager,
        detailData: {
					actualSaleGoodsInfoVos: undefined,
					shouldSaleGoodsInfoVos: undefined
				},
        activeTab: '1',
        filterOption,
        dialogFormVisible:false,
        tabFormInline,
        detailFlag: false,
        whWarehouseId:undefined,
        editDialogFlag: false,
        editDialogNewAddress: false,
        searchFromData:undefined,
        editDialogFormData,
        exportTableSelectList: undefined,
        defaultEditDialogFormData: editDialogFormData,
        exportBarcode: undefined,
        exportBarcodeFlag: false,
        fileUrl:'',
				fileName:'',
        stepOption,
        saleLogList: [],
        uploadFile: {
					name:undefined
				},
        status:'',
        detailTableFrom: {
          src: require('@/assets/img/icon_unfold.png'),
          flag: true
        },
        tab1TableDetail1: {
          src: require('@/assets/img/icon_unfold.png'),
          flag: true
        },
        tab2TableDetail1: {
          src: require('@/assets/img/icon_unfold.png'),
          flag: true
        },
      }
    }
  }
}
export default Model;
